#ifndef MIDDLE_H
#define MIDDLE_H

#include <QWidget>
#include "utils.h"

namespace Ui {
class Middle;
}

class Middle : public QWidget
{
    Q_OBJECT

public:
    explicit Middle(QWidget *parent = nullptr);
    ~Middle();

public slots:
    void onLogin();

signals:
    void LoginSucceed(int);
    void LoginFail();
    void Forget(int);
    void Enroll(int);

private:
    Ui::Middle *ui;
};

#endif // MIDDLE_H
